package com.api.user.service;
import com.api.common.mybatis.ResultMap;
import com.api.user.model.RechargeOrder;
import com.api.core.service.Service;
import com.api.core.response.Result;

import java.util.List;
import java.util.Map;

/**
 * Created by wanghuiwen on 2021/04/08.
 */
public interface RechargeOrderService extends Service<RechargeOrder> {
   Result list(Map<String,Object> params, String order, Integer page, Integer size);

    Result add(Long packageId, Long id);

    Result topup(Long userId, Integer coin);

    List<ResultMap<String, Object>> analysis(Integer type);

    List<ResultMap<String, Object>> dayAnalysis();

    List<ResultMap<String, Object>> hourAnalysis();

 String callback(String merchantCode, String paymentId, String refNo, String amount, String currency, String remark, String transId, String authCode, String status, String errDesc, String signature, String ccName, String ccNo, String s_bankname, String s_country);
}
